package ofpof.service.mail;

import java.util.HashMap;
import java.util.Map;


public class EmailCommand {

	private String to;
	private Map<String,Object> model = new HashMap<String, Object>();
	private String template;
	
	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public Map<String,Object> getModel() {
		return model;
	}

	public void setModel(Map<String, Object> model) {
		this.model = model;
	}
	
	public void addObject(String key,Object value) {
		model.put(key, value);
	}

	public String getTemplate() {
		return template;
	}

	public void setTemplate(String template) {
		this.template = template;
	}

}
